package com.itheima.infiniteloop;

public class InfiniteLoopDemo1 {
    public static void main(String[] args) {
            //for格式的无限循环
        /*for(;;) System.out.println("学习");*/

        //while格式的无线循环
       /* while(true) System.out.println("学习");*/


    }
}
